<a name="up" id="up"></a>
<div class="center">
  <div class="header">
    <div class="header-wrp">
      <div class="logo"> <a href="/" class="logo">Logo</a> </div>
      <?php Template::UserControlTPL('Categories'); ?> 
      
      <div class="hotline"> HOTLINE: 0963 510 510 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LIÊN HỆ </div>
      <div class="cartbox"> <a href="#">Xem giỏ hàng: <span>(0)</span> sản phẩm</a> </div>
      <div class="searchbox"> </div>
      <div class="textbox">
        <form>
          <input type="text" name="keyword" class="inputbox" value="enter keyword here ...">
          <input type="image" name="search" class="button" src="<?=$FullUrl?>/<?=CST_IMAGES?>/search.png">
        </form>
      </div>
      <div class="slogun"> Respect your beauty </div>
      <ul class="menu-shop">
        <li><a href="#"><span>Tài Khoản </span></a></li>
        <li><a href="#"><span>Hàng Mới Về</span></a></li>
        <li><a href="#"><span>Sản Phẩm Đặc Trưng</span></a></li>
        <li><a href="#"><span>Hàng Sale %</span></a></li>
        <li><a href="#"><span>Đăng Ký</span></a></li>
      </ul>
    </div>
  </div>
  <?
  	if($do != "main")
	{
  ?>
  <div class="content-full">
	<div class="content">
  <?
	}
  ?>
  <?

	//echo $do;
	$filename = './kam/modules/'.$do.'/site/'.$tpl.'.php';
	echo $filename;
	
	if(file_exists($filename)) 
		include($filename); 
	else
		print('This page is not available tpl');
?>
   <?
  	if($do != "main")
	{
  ?>
  	</div>
	</div>	
  <?
	}
  ?>
  <div class="clr"></div>
  <div class="footer">
    <div class="footer-wrp">
      <ul class="menu-ftr">
        <li><a href="#"><span>Thanh toán</span></a></li>
        <li><a href="#"><span>Giao hàng</span></a></li>
        <li><a href="#"><span>Trả hàng</span></a></li>
        <li><a href="#"><span>Cửa hàng</span></a></li>
        <li><a href="#"><span>tnguyenstyle.com trên facebook</span></a></li>
        <li><a href="#"><span>Tuyển dụng</span></a></li>
        <li><a href="#"><span>Giới thiệu tnguyenstyle.com</span></a></li>
      </ul>
      <div class="copyright"> @ Bản quyền 2012 TNguyen by <a href="http://www.vietseopro.com">Viet SEO Pro</a> - <a href="<?=$FullUrl?>/login-admin.html" target="_blank">Login</a></div>
    </div>
  </div>
</div>
<div id="top"> </div>